Systems and methods for color palette suggestions

ABSTRACT

A method and system for conducting image search comprising: searching a first database to locate a set of pertinent images, iteratively performing the following operations for each image in the set of pertinent images (a) extracting the histogram of red green and blue colors (RGB colors) from a given image (b) distilling the extracted RGB colors down to create a reduced color palette for the given image (c) segmenting the extracted RGB colors into a set of segments representing distinct parts of the color spectrum; (d) selecting a subset of segments to assemble a color palette for the given image; (e) updating the assembled color palette and the customer behavior score for the given image in the first database; and generating a ranked display of suggested color palettes for the search query by aggregating the customer behavior scores for the search query across all images.

BACKGROUND

1. Field of Disclosure

The present disclosure generally relates to a color palette suggestion system, and, more particularly, to systems and methods for conducting a keyword, a color and a trend based image search in response to a user presenting a search query.

2. Background of the Invention

Searching pertinent images over the Internet can be a particularly challenging task for artists and designers. The commercial systems may require an artist to select a single image from a pool of millions of images that may be retrieved for a keyword search query. In marketing, the precise image selection for a product may directly be linked with the commercial success of a product. An artist may be required to conduct a complex search query to perform an image search based on a keyword and a color. In that case, artists may have to create and discover color palettes to meet their business needs or aesthetic tastes. When an artist is searching for the keyword “ocean,” the Internet search engine may return a large number of images associated with the keyword ocean in various colors and shades.

The artist may then have to run a second query to locate a desired image in a desired color combination from the pool of several images. For example, the artist may have to specifically configure a query to fetch all images that are associated with the keyword “ocean” and that are blue in color. The above mentioned query may be run by the existing image search systems to perform a two layered image search i.e. first images are searched by a keyword and the retrieved images are then searched by the color. Thus, the existing image search systems do not offer a palette selection option, coupled with a keyword search option. Further, the artist using existing image search systems may have to reinvent a palette for each keyword search since there does not exist a way to save and export preferred color pallets. Furthermore, the artist does not have a way to take advantage of image selection trends reflected by the image retrieval and download data gathered from the previous searches performed on the particular keyword and color selection. Accordingly, a need exists for a palette selection system that can present images based at least on the image trend, the color criteria and the keyword criteria.

BRIEF SUMMARY

By way of introduction only, the present embodiments provide a method and system for conducting image search comprising: searching a first database to locate a set of pertinent images, iteratively performing the following operations for each image in the set of pertinent images (a) extracting the histogram of red green and blue colors (RGB colors) from a given image (b) distilling the extracted RGB colors down to create a reduced color palette for the given image (c) segmenting the extracted RGB colors into a set of segments representing distinct parts of the color spectrum (d) selecting a subset from the set of segments to assemble a color palette for the given image (e) updating the assembled color palette and a customer behavior score for the given image in the first database; and generating a ranked display of suggested color palettes for the search query by aggregating the customer behavior scores for the search query across all images.

The disclosed system may present users with multicolor palettes that best match the searched concept and the keyword. Among the presented multicolor palettes, a specific multicolor palette can be selected by the user in order to retrieve all images in the given image depository that match the specific palette and the user specified keyword. Alternatively, the disclosed system may allow the user to create a palette and retrieve all images in the image depository that match the user specified palette and the user specified keyword.

According to one aspect of the present invention, systems and methods are disclosed for generating color palettes from the given image depository in response to a user query. In one embodiment of the disclosed system, a high volume of color combinations can be generated automatically for a search query.

According to another aspect of the present invention, systems and methods are disclosed for designing a color palette. When an artist is searching for the keyword “ocean,” the Internet search engine may return a large number of images associated with the keyword ocean in various colors and shades. For example, the above mentioned query may return color palettes containing various shades of blue from the photos of water, various shades of browns from the photos of beaches, the various shades of reds from photos of ocean sunsets, and the like.

In another embodiment, the system has an ability to display trends for a given image. Thus, the user can optionally select an image that was downloaded by many other users. Accordingly, the system may define popular palettes for certain groups of customers. For example, a popular palette may indicate specific images that are popular among college students just in time for Valentine's Day. In another embodiment, the system may have the ability to suggest color themes based on seasonal or popular trends, for example certain red and green palettes may be especially popular around Christmas time.

In yet another embodiment, the system has the ability to help customers configure their desired palettes. Additionally, the system may allow customers to discover palettes configured by others as well as save or export a particular palette that is of interest to the customer. This may save customer time, money and other resources required to reinvent that palette that works for the customer.

Although the features and advantages of the invention are generally described in this summary section and the following detailed description section in the context of embodiments, it shall be understood that the scope of the invention should not be limited to these particular embodiments. Many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims hereof.

In another embodiment, relevant search queries are further sorted by using user search data to score color palettes by the keyword. Thus, a high volume of color combinations can be applied to locate relevant images in response to the search queries.

BRIEF DESCRIPTION OF SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 illustrates a flow chart depicting various steps performed in conducting a keyword, a color and a trend based image search according to the preferred embodiment of the disclosed method;

FIG. 2 illustrates an example of a reduced color palette, wherein the colors extracted from the image are distilled down to values present in the reduced color palette;

FIG. 3 depicts the manner in which a plurality of color segments are defined based on visually distinctive regions of the spectrum;

FIG. 4 indicates the fashion in which the colors from the reduced color palettes are divided up into clusters;

FIG. 5 depicts the process of scoring the color segments based on the volume of all the colors within the color segments;

FIG. 6 depicts an example of the four color palette for a given image;

FIG. 7 depicts manner in which the customer behavior scores per keyword are added up from each image that the color palette was extracted from;

FIG. 8 illustrates a process of ranking the color palettes based on the customer behavior score of the keywords matching the search query;

FIG. 9 illustrates a process of ranking the color palettes based on the customer behavior score of the keywords matching the search query; and

FIG. 10 depicts an exemplary set of mathematical operations that can be performed to compute the color weight score.

DETAILED DESCRIPTION OF THE PRESENTLY PREFERRED EMBODIMENTS

The present disclosure describes a computer implemented method for conducting a keyword, a color and a trend based image search in response to a user presenting a search query on a user interface of a computing device, the method comprising (1) searching a first database to locate a set of pertinent images corresponding to the search query, the first database comprising an image representation (image), a set of keywords associated with the image, a customer behavior score for each keyword in the set of keywords, and a list of keywords previously used to locate the image; (2) iteratively performing the following operations for each image in the searched set of pertinent images: (a) extracting the histogram of red green and blue colors (RGB colors) from a given image, (b) distilling the extracted RGB colors down to create a reduced color palette for the given image based on the proximity of the extracted RGB colors in the RGB color space, (c) segmenting the extracted RGB colors into a set of segments representing different, visually distinct parts of the color spectrum, and black and white colors, (d) selecting a subset of segments from the set of segments satisfying a predetermined criterion to assemble a color palette for the given image, and (e) updating the assembled color palette and the customer behavior score for the given image in the first database; and (3) generating a ranked display of suggested color palettes for the search query by aggregating the customer behavior scores for the search query across all images from which the color palette was extracted from.

Now referring to FIG. 1 illustrating a flow chart depicting various steps performed in conducting a keyword, a color and a trend based image search according to the preferred embodiment of the disclosed method. The process may receive a search query from a user via a user interface of a computing device, not shown in FIG. 1, at block 110. The search query may indicate user's interest in searching images for the specified keyword for example, a sea. Notably, the user may not specify a color of desired image at this point. However, in another embodiment, the user may indicate the intended image color and shade. The process may conduct image search based on the user specified keyword and color constraint. In yet another embodiment, after the process suggests a ranked display of suggested color palettes, the user may disregard the ranking and configure a custom color pallet as per the user's individual preference.

The process may at block 120 search a first database to fetch all the images that satisfy the keyword criterion specified in the search query. All the images that meet the searched keyword criteria are herein referred to as a set of pertinent images, since these images may possibly be of interest to the user. In other words, the process may search a first database to locate a set of pertinent images corresponding to the search query. At block 130, the process may generate a set of pertinent images for the user after searching the first database at block 120. The first database may comprise several records, each record may have an associated image representation (image), a set of keywords associated with the image. Furthermore, each record may also have a customer behavior score for each keyword in the set of keywords, and a list of keywords that were previously used by other users to locate the image.

In one embodiment of the disclosed invention, the customer behavior score is based on aggregated activity for an image (user activity received in a computing device). This may include searches that were conducted in the past which led the user to indicate interest in the given image. User interest is indicated by the user purchasing the image, the user clicking on the image, or displaying other signals indicating the user's interest in that image. In this context, the other signals may include for example, the user adding the image to a lightbox or favorites list, and hovering the cursor over the thumbnail image to view a larger preview, or performing any of the above mentioned activities on images contributed by the same artist from the same photo shoot or illustrated image set. In this embodiment of the disclosed invention, the customer behavior scores may be aggregated per search query and used to identify the most relevant keywords or categories for an image.

In another embodiment of the disclosed invention the customer behavior scores may be aggregated over a period of time and may represent customer activity for a specific period of interest such as a season. For example, an abstract image of a red and green background may generate more customer interest in the Christmas season. As a result, the image is likely to receive a disproportionate number of its annual purchases during the three month period prior to Christmas time as compared to other images having the color schemes that are unrelated to Christmas. If a particular image received higher volume of customer activity during a specific time of the year, then the disclosed search system can rank the particular image higher in results during the same time of year. For example, if 30% of the total image downloads for image A had occurred in the month of November, and for 10% of total image downloads for image B had occurred in the month of November, then the image A will be ranked higher than image B in search results during the month of November.

At block 140, the process may determine whether all of the pertinent images generated at block 130 are processed. If the process determines that all pertinent files processed are not yet processed, then the process iteratively performs the operations described in conjunction with blocks 150-190 for each image in the searched set of pertinent images. In other words, the process iteratively performs the operations described in conjunction with blocks 150-190 until all the images for each image in the searched set of pertinent images are processed. In this context, the term “given image” indicates a particular image from the set of pertinent images upon which the operations described in conjunction with blocks 150-190 are being performed.

First, the process may move to block 150 to extract the histogram of red green and blue colors (RGB colors) from a given image. The process of extracting histogram of red green and blue colors (RGB colors) from a given image is further illustrated in conjunction with FIG. 2. At this point, the process may consider the following image data: a thumbnail representation of the given image, which may be an approximately 100 pixels on a side representing a shrunken version of the full size image, a list of keyword tags associated with the given image; and a list of keywords that were used by customers to find the given image along with a score based on customer behavior for the given image.

Then the process may move to block 160 to distill the extracted RGB colors down to create a reduced color palette for the given image based on the proximity of the extracted RGB colors in the RGB color space. Then the process may move to block 170 to segment the extracted RGB colors into a set of segments representing different, visually distinct parts of the color spectrum, and black and white colors before moving to block 180 to select a subset of segments from the set of segments that satisfy a predetermined criterion to assemble a reduced color palette for the given image. Finally, the process may update the assembled reduced color palette and the customer behavior score for the given image in the first database before returning to block 140 to determine whether all pertinent files are processed.

Alternatively, at block 140, if the process determines that all pertinent files are processed, then the process may move to block 195 to generate a ranked display of suggested color palettes for the search query by aggregating the customer behavior scores for the search query across all images from which the color palette was extracted from. Then the process may exit at block 197.

FIG. 2 illustrates an example of a reduced color palette, wherein the colors extracted from the given image are distilled down to values present in the reduced color palette 220. An image 210 is a thumbnail representation of a given image from the set of pertinent images as described above in conjunction with FIG. 1. The image 210 may be a shrunken version of the full size image and can be of a 100 pixels on a side dimensions. As described above, the process may extract the histogram of RGB colors from the image thumbnail 210 and distill the extracted RGB colors down to create a reduced color palette 220 for the image 210 based on the proximity of the extracted RGB colors in the RGB color space.

The process may iteratively process each color in the reduced color palette by performing a set of operations for each color in the reduced color palette. In particular, the process may iteratively perform, for each color in the reduced color palette, the operations of assigning (1) a color volume score to the given color (2) a color weight score to the given color, and (3) the percentage of a set of proximate colors. The process may assign the color volume score to each color in the reduced color palette at block 229. The color volume score may be assigned to each color in the reduced color palette based on the amount of that individual color present in the given image.

In other words, the color volume score for a given color may indicate the percentage of the given image covered by the given color. Thus, in an image of sky, where blue color covers the entire image of the sky, the color volume score for blue color will be 100%. In contrast, in a blue and green colored image depicting birds, where some birds are flying in the blue sky up high and some birds pecking seeds in the green grass below, the color volume score for the color blue will be less than 100% since the green grass will occupy at least some percentage of the image. Likewise, the colors of the birds will also occupy some percentage of the image.

This phenomenon is described further in detail in conjunction with FIG. 3. Now referring to FIG. 3. FIG. 3 depicts the manner in which a plurality of color segments are defined based on visually distinctive regions of the spectrum. The color bf9540 indicated by the reference numeral 310 has occupied 12% of the image, this color volume score is in sync with the thumbnail representation of the image 210 since mustard color does appear to cover 12% of the image 210. Likewise, the color ffe4ed indicated by the reference numeral 320 has the color volume score of 5% since off white color appears to have occupied 5% of the thumbnail representation of the image 210. Similarly, 6b422e indicated by the reference numeral 330 has the color volume score 2% and the color 4d4d4d indicated by the reference numeral 340 has the color volume score 1%.

Furthermore, the process may iteratively assign a color weight score for each color in the reduced color palette. The color weight score may indicate the percentage of the given color in the given image. Notably the term “given image” is an image from the set of pertinent images that is currently being processed and the term “given color” is a color from the reduced color palette that is being assigned the color weight score. The color weight score may be based on the occurrence of other visually similar colors in the given image. The color weight score may indicate a numeric score based on the percentage of the given color in the given image, and the percentage of other colors located within a certain predefined distance in the RGB color space from the given color, and the measure of distance between the given color and the other colors situated within the certain predefined distance in the RGB color space from the given color.

A set of mathematical operations may be performed to compute the color weight score. One example of a formula is illustrated in FIG. 9. As indicated in FIG. 9, the weight of a color is weighted up or weighted down by either by color percentage of the given color in the given image or by the color distance of the given color and every other color in the given image. However, other formulae may also be used to compute the color weight score. The color weight score may be used to ascertain how closely related are the colors in the given image. For example, in a given image, a shade of green may have a higher color weight score if the given image is covered by a wide variety of greens. However the same shade of green may be weighted lower if it the given image is covered completely by shades of red.

Further, for each given color, the process may also identify a set of proximate colors such that each color in the set of proximate colors is located within a predefined distance from the given color in the RGB color space. Next, the process may ascertain the percentage of a set of proximate colors in the given image. The process may also identify the measure of the distance between the given color and the set of proximate colors in the RGB color space. Finally, the process may perform the indexing operations on the color volume score, the color weight score, the customer behavior score and the percentage of the set of proximate colors for the given color in a search engine. The indexing operations may be helpful in a subsequent image search of the given image via the search engine.

Now referring back to FIG. 2. The process then may divide or segment the extracted RGB colors into a set of segments or buckets 230 wherein the set of segments may represent different, visually distinct parts of the color spectrum, and black and white colors. After generating the set of segments, the process may select a subset of segments satisfying a predetermined criterion to assemble a color palette for the given image, and update the assembled color palette and the customer behavior score for the given image in the first database. Finally, the process may generate a ranked display of suggested color palettes for the search query by aggregating the customer behavior scores for the search query across all images from which the color palette was extracted from. This phenomenon is illustrated in FIG. 4.

Now referring to FIG. 4 which indicates the fashion in which the colors from the reduced color palettes are divided up into clusters. In FIG. 4, x axis represents a hue value 410 of the given shade of the given color and y axis represents a saturation and lightness value 420 for the given shade of the given color. For example, a very light shade of peach color indicated by reference numeral 430 appears to have least hue value 410 as well as least saturation and lightness value 420. Likewise, a very dark shade of gray color indicated by reference numeral 440 appears to have maximum hue value 410 as well as maximum saturation and lightness value 420. The colors that were extracted from the given image are divided up into segments or buckets representing different visually distinct parts of the color spectrum, plus black and white colors. According to one embodiment of the disclosed invention, the segments may be defined manually by dividing the color spectrum into sections that are visually distinct from each other. In another embodiment, the segments may be defined algorithmically using a variety of algorithmic techniques.

For each segment in the set of segments, the process may iteratively assign a color score to each color in a given segment to ascertain a color that represents the given segment as a whole. In this context, the term “given segment” indicates a particular segment from the set of segments, wherein each color in the particular segment is being assigned a color score. The segment score maybe determined by a product of the color volume score, a color lightness measure and a color chroma measure and wherein the color having the highest color score in a given segment is designated to represent the given segment.

To compute the color score for a specific color, the specific color is converted to the LCH*color space, which produces three values: a lightness value, a chroma value, and a hue value for the specific color. The color score is determined by computing a product of the color volume score, the lightness value, and the chroma value. Resultantly, the color with the highest color score is the brightest, most saturated, and most abundant color in that segment. Accordingly, the color with the highest color score in a particular segment may be used to represent the particular segment.

Likewise, for each segment in the set of segments, the process may iteratively assign a segment score, wherein the segment score for a particular segment is computed by aggregating the color volume scores for each color in the particular segment. In other words, the segment score for a specific segment may be based on the sum of the color volume scores of each color in the given image within the specific segment. This phenomenon is further described in conjunction with FIG. 5.

Referring now to FIG. 5 illustrating the manner in which the colors may be divided into one or more clusters. In FIG. 5, x axis represents the segment score i.e. the aggregate color volume scores for each color in the particular segment 580 for the given segment and y axis represents the given segment 570. FIG. 5 depicts the process of scoring the color buckets based on the volume of all the colors within them (to calculate a bucket presentation score) wherein, the representative colors from the top buckets are used to generate a color palette for the given image. FIG. 5 depicts seven color clusters indicated by the reference numerals 500, 510, 520, 530, 540, 550, and 560. In one embodiment of the disclosed invention, the top three segments having the highest segment score may be selected in order to assemble a color palette that best represents the given image. In another embodiment of the disclosed invention, the top four segments having the highest segment score may be selected in order to assemble a color palette that best represents the given image. In this embodiment, the color from the color segments indicted by the reference numerals 550, 500, 560 and 520 may be selected to assemble a color palette.

An example of the four color palettes derived from the image 600 is illustrated in FIG. 6. The color segments 610, 620, 630, and 640 in are selected to assemble a color palette that best represents an image 600. Notably, as shown in FIG. 5, the colors represented by the reference numerals 550, 500, 560 and 520 correspond to the color segments 610, 620, 630 and 640 respectively. The four the color segments 610, 620, 630 and 640 are scored based on the volume of all the colors the color segments 610, 620, 630 and 640. Thus, the representative colors from the top segments are used to generate a color palette for the given image 600.

In yet another embodiment of the disclosed invention, the top five segments having the highest segment score may be selected in order to assemble a color palette that best represents the given image. After generating the color palette that best represents the given image, the generated palette is then stored in a database along with the customer behavior scores for the given image from which the colors in the color palette were extracted. Notably, the disclosed invention may be used to derive any number of color palettes that best represents the given image. In another embodiment of the disclosed invention, the process may select a predefined number of segments having the highest segment scores for assembling a color palette representation for a given image.

A process may then iterate through all the color palettes and derive the aggregate customer behavior score for each unique color palette by summing up all the customer behavior scores per search query for each unique color palette. For example, if 10 images with the same color palette have a customer behavior score of 2 for the search query “water”, then the palette will have an aggregate customer behavior score of 20 for the query “water”. Each image may have customer behavior scores for multiple search queries. In that case, the palette may include a sum of customer behavior scores for each individual search query across all images. This phenomenon is illustrated in FIG. 7.

FIG. 7 depicts manner in which the customer behavior scores per keyword are added up from each image that a palette was extracted from. Upon receiving a search query comprising search criteria, the process fetches a set of pertinent images having associated keywords that match the searched criteria. For each image in the set of pertinent images, the process generates the color palettes and ranks the color palettes based on the customer behavior score per each keyword. This process of aggregating the customer behavior score per each keyword is illustrated via three images 702, 704, and 706 displayed in the area 710 of FIG. 7.

Also displayed in the area 700 is the color palette 708 along with the customer behavior scores 716, 718, and 720. As for image 702, the color palette 708 is extracted from image 702, which is an image of a parasailing person. As described above, the first database may an image representation (image), a set of keywords associated with the given image, a customer behavior score for each keyword in the set of keywords, and a list of keywords previously used to locate the given image.

In FIG. 7, three keywords: ocean, surfing and wind which are indicated by reference numeral 716 are associated with the given image 702. Likewise, the customer behavior scores for each keyword associated with the given image 702 are stored in the first database. For example, the keywords ocean, surfing, and wind each have the customer behavior score of 10, 5 and 2 respectively.

Similarly, for image 704, the color palette 708 is extracted from image 702, which is an image of a boardwalk. In FIG. 7, two keywords: ocean and boardwalk indicated by reference numeral 718 are associated with the given image 704. The customer behavior scores for the keywords: ocean and boardwalk are 15 and 5 respectively. Also shown in FIG. 7 is image 706 which is an image of a sea. The color palette 708 is extracted from image 706 and three keywords: ocean, sky, and cloud indicated by reference numeral 720 are associated with the image 706. The customer behavior scores for the keywords: ocean, sky, and cloud are 12, 8 and 2 respectively.

The process may aggregate the customer behavior scores per search query and use the customer behavior scores to identify most relevant keywords or categories for a given image. For example, as shown in area 712 of FIG. 7, for keyword ocean the process may add the customer behavior score 10 for image 702, the customer behavior score 15 for image 704 and the customer behavior score 12 for image 706, thus the aggregate customer behavior score 724 for keyword ocean is 37. Whereas the keyword surfing has the aggregate customer behavior score 5 since the keyword surfing only appeared once for image 702 with the customer behavior score 5. Similarly, in FIG. 7, the keywords wind, boardwalk, sky and cloud each have the aggregate customer behavior scores 2, 5, 8 and 2 respectively.

In one embodiment of the disclosed invention, the process may aggregate the customer behavior scores over a period of time and use the customer behavior scores to represent a customer activity for a specific period of interest. In another embodiment of the disclosed invention, the customer behavior score may be based on the previous searches indicating user interest in a given image. In this embodiment, the user interest may at least be indicated by one of the following: the user purchasing the given image, the user hovering a cursor over a thumbnail version of the given image to view an enlarged version of the given image, the user adding the given image to a favorites list, and the like.

Now referring to FIG. 8 illustrating a process of ranking the color palettes based on the customer behavior score of the keywords matching the search query. After performing the operations described in FIG. 7, the process may obtain a resulting data set containing color palettes linked to the sum of all the customer behavior scores from all the images that match a given color palette. This data can then be used to rank color palettes based on a search query. If palette A has a customer behavior score of 90 for keyword ocean, a score of 100 for keyword beach and a score of 80 for keyword sky, and palette B has a score of 100 for keyword ocean and a score of 30 for keyword beach, then palette A will be ranked first if the user enters a query for keyword beach and palette B will be ranked first if the user enters a query for keyword ocean. Resultantly, if a user invokes a query for keyword sky, then the process may display Palette A but may not display palette B to the user, since the keyword sky does not appear in palette B.

Displayed in the area 800 are the color palettes 804, 806, and 808 along with the customer behavior scores 810, 812, and 814. The color palette 804 has three associated keywords: ocean, beach, and sky, the customer behavior scores 810 for these keywords are 90, 100 and 80 respectively. Likewise, the color palette 806 has four associated keywords: ocean, underwater, fish, and beach, where the customer behavior scores 812 for these keywords are 100, 90, 50 and 30 respectively. Finally, the color palette 808 has four associated keywords: ocean, sunset, beach, and sky, where the customer behavior scores 814 for these keywords are 80, 140, 150, and 40 respectively.

Now referring to the display area 802 in FIG. 8 showing a ranked display of the suggested color palettes per search query. For the search query 828 where images for the keyword ocean are being searched, the customer behavior score for this keyword is 90 for palette A, 100 for palette B, and 80 for palette C. Thus, the first rank 816 is allocated to the suggested color palette B referenced by the reference numeral 822. Similarly, the second rank 818 is allocated to the suggested color palette A referenced by the reference numeral 824 and the third rank 820 is allocated to the suggested color palette C referenced by the reference numeral 826.

Likewise for the search query 842 where images for the keyword beach are being searched, the customer behavior score for this keyword is 100 for palette A, 30 for palette B, and 150 for palette C. Accordingly, the first rank 830 is allocated to the suggested color palette C referenced by the reference numeral 836. The second rank 832 and the third rank 834 are allocated to the suggested color palette A referenced by the reference numeral 838 and the suggested color palette B referenced by the reference numeral 840 respectively.

Similarly, for the search query 850 where images for the keyword sky are being searched, the customer behavior score for this keyword is 80 for palette A, and 40 for palette C. Therefore, the first rank 842 is allocated to the suggested color palette A referenced by the reference numeral 846 and the second rank 844 is allocated to the suggested color palette C referenced by the reference numeral 848. Notably, because the keyword sky is not associated with the images from which the color palette B is derived from, the color palette B referenced by the reference numeral 806 is not listed in the ranked display of suggested color palette for the search query for the keyword sky.

Now referring to FIG. 9 illustrating search results displayed in response to a search query entered by a user. As described above, the process may generate a ranked display of suggested color palettes for the search query by aggregating the customer behavior scores for the search query across all images from which the color palette was extracted from. The ranked display of suggested color palettes is shown in FIG. 9. Interface 900 shows selective set of images derived in response to the search query. Area 900 illustrates a search box 910 where the user may enter a keyword to conduct a search query.

In FIG. 9, for example, the user has entered the keyword ocean in the search box 910. Responsively, the selected pallet 920 is displayed at location 920. The colors of the images shown on the interface 900 indicated by the reference numeral 930 are taken from the colors in the selected pallet indicated by the reference numeral 920. The area 950 on the interface 900 indicates the different colors that are displayed in the images 930 on the interface 900. Likewise the suggested color palettes 940 are displayed on the interface 900. The interface may dynamically change the images 930 that are displayed on the interface 900 in response to the user selecting any palette from the list of the suggested color palettes 940 to replace the selected color palette 920.

The claimed system and method may also be configured to receive data including a list of keyword tags provided with the image and a list of keywords used by customers to find said image along with a score based on customer behavior.

The customer behavior score may be based on aggregate user activity for an image. This includes searches that lead to purchases of said image, clicks on said image, or other signals that indicated that the user was interested in said image—for example, adding said image to a lightbox or favorites list and hovering the cursor over a thumbnail of said image to view a larger preview, or doing any of the above activities on images contributed by an artist from a photo shoot of said image or illustrated image set. Customer behavior scores are aggregated per search term and used to identify the most relevant keywords or categories for an image.

The claimed system and method aggregate customer behavior scores over a period of time. Said customer behavior scores may represent customer activity for a specific period of interest. For example, said specific period may include one season of a year. An abstract image of a red and green background may generate more customer interest in a winter holiday season. As a result, the image will receive a disproportionate number of its annual purchases during the three month period prior to Christmas compared to other images with color schemes unrelated to Christmas. In years that follow, in one embodiment the claimed system and method weigh that image higher in results during a time of year that it received higher volume of customer activity. If one image received 30% of its downloads during November, and another image received 10% of its downloads during November, then the claimed system and method will rank the former image higher in search results during the month of November.

The claimed system and method extract the histogram 220 of red, green, and blue, hereinafter, “RGB,” colors from the image thumbnail 210 and distill said extracted colors down to a reduced palette 230 based on their proximity in a RGB color space.

The claimed system and method assign each of the reduced colors a score 310, also referred to as a “color volume score,” based on a percentage of an image that is covered by that individual color. FIG. 3 represents the system and method assigning each of the reduced colors a color volume score.

The claimed system and method then give each color a second weight score, referred to as a color weight score, which is based on occurrence of other visually similar colors in an image. As reflected in FIG. 10, the claimed system and method use an equation to compute weight of a color in an image. A key (2000) establishes definitions of values: a value n represents a number of colors in said image, a value D represents distance between two colors in said LCH color space, said value D equaling a value between and including 0 and approximately 300, a value P represents percentage of image percentage of image covered by a given color, said value P equaling a value between and including 0 and 100, and a variable x represents a specific color being assigned a weight via the equation. Weight for a given color 2001 is equal to P[x] multiplied by an aggregated product, iterated n times, from 1 to n, whereby a factor is equal to (1+100*((P[i]/100)*(D[x,i]/300)) if D[x,i] is less than or equal to 40 (20002), or instead equal to (1−100*((P[i]/100)*(D[x,i]/300)) if D[x,i] is greater than 40 (2003).

This weight is a numeric score based on percentage of a color in the image, and the percentage of other colors within a certain predefined distance in the RGB color space, and a measure of distance between those colors in the RGB color space. In this way, the claimed system and method will score a shade of green higher if a wide variety of greens cover an image but the claimed system and method will weight said shade lower if shades of red completely cover said image.

As noted previously the claimed system and method extract colors from an image and distill said colors to a palette. FIG. 4 represents the division of extracted colors. The claimed system and method assign each color within each bucket a bucket color score in order to determine which color should represent the bucket as a whole. To calculate this score, the color is converted to the lightness, chroma 420, and hue 410, hereinafter, “LCH,” color space which produces three values: lightness, chroma, and hue. The claimed system and method determines score by multiplying color volume score by lightness by chroma. The result is that the brightest, most saturated and most abundant color—the color with the highest score—in the bucket will be used to represent said bucket.

The claimed system and method divide the extracted colors into buckets representing different visually distinct parts of the color spectrum, a spectrum which includes black and white. In one embodiment, the claimed system and method define the buckets manually by segmenting the color spectrum into sections that are visually distinct from each other. In another embodiment, the claimed system and method define the buckets algorithmically using a variety of techniques.

In one embodiment, three buckets with bucket color scores ranking highest are selected in order to assemble a color palette that best represents their corresponding image. The claimed system and method score buckets based on an aggregation of volume of each color in the image within a bucket. FIG. 5 represents scoring of said buckets. This method is repeated to create palettes with three, four, or five colors. FIG. 6 represents a result of scoring of color buckets based on volume of all colors in said buckets for a given image 600. Representative colors from top buckets are used to generate a color palette (610, 620, 630 and 640) for the image.

The claimed system and method index each piece of data: color volume score, color weight score, and customer behavior score in a search engine to serve user queries.

The claimed system and method then store a palette for an image in addition to customer behavior scores from an image from which colors were extracted.

The claimed system and method can iterate operation throughout the entire collection of images.

As demonstrated in FIG. 8, the claimed system and method traverse through all palettes 708 and aggregates all customer behavior scores (e.g. 716, 718 and 720) per search term for each unique color palette. If ten images each with an identical color palette have a customer behavior score of 2 for the search term “water,” then the palette will have a total customer behavior score of 20 for the query “water.” Each image may have customer behavior scores for multiple search queries. A palette includes a sum of customer behavior scores for each individual search term across all images.

The claimed system and method produce a data set containing color palettes linked to a sum 712 of all customer behavior scores (e.g. 716, 718 and 720) from all images (e.g. 702, 704 and 706) that match a given color palette 714.

By way of example, if a user runs a query for “sky,” the claimed system and method will display the proper palette (e.g. 804, 806 and 808) according to customer behavior score (e.g. 810, 812 and 814) for a specified search term—in this example, “sky.” In one embodiment, the claimed system and method use this data to rank color palettes based on a search term 828. For example, if palette A has a customer behavior score of 90 for “ocean,” a score of 100 for “beach,” and a score of 80 for “sky,” and palette B has a score of 100 for ocean and a score of 30 for beach, then the claimed system and method will rank palette A first if the user enters a query for “beach” and palette B will be ranked first if the user enters a query for “ocean.”

The claimed system and method provide a user with a web interface where said user can enter at least one keyword as a search term 910. FIG. 9 represents a web interface interface. Once a user inputs a search term 910, the claimed system and method will display a grid of at least one image 930 matching said search term. Then the claimed system and method will display a list of colors 940 that are present among all image search results. The claimed system and method will sort said colors by a number of matching images in said image search results. The claimed system and method will list and sort palette suggestions 950 based on the customer behavior score for a matching search term. The user can also create a palette 920 using said list of colors.

If a search yields multiple palettes that are visually similar, for example, said palettes sharing two colors while a third color is a near match, then the claimed system and method will remove said multiple palettes that are visually similar in order to provide better variety to a user. The claimed system and method filters palettes based on the following logic: (1) If a palette has N colors, create an index of all combinations of N−1 colors, (2) Count each set of N−1 colors present in the index, (3) If a set of N−1 colors occurs more than once then compare Nth colors for each of them, and (4) If distance between two of said Nth colors is below a predefined threshold, then remove one color palette from said results.

If the user selects a single color option, the claimed system and method update search results to show only images that match a keyword a given color. The claimed system and method match said given color with weighted colors retrieved from each image and secondarily on the volume of the color in each image. The claimed system and method update palette suggestions to only display palettes which match selected colors.

If a user clicks on a palette suggestion, the claimed system and method update search results to only display images that match a given color combination. The claimed system and method update palette suggestions to show multicolor palettes that contain colors of the given color combination. If the user selected a multicolor palette with three colors, the claimed system and method will display palette suggestions with four colors. If the user selected a palette with four colors, the claimed system and method will display palette suggestions with five colors.

If a user hovers over an image result, the claimed system and method will display a color palette that was extracted from said image result. If a user clicks on said palette (1) the claimed system and method will retrieve four top colors for said image result along with color volume scores for said image result, (2) the claimed system and method will enter said four colors into a search query along with color volume scores as boost parameters, (3) the returned image results will match all given colors and search terms, and (4) the claimed system and method will rank said results based on proximity in volume each color of said returned image results matches the volume of each color in said image result.

The claimed system and method enables a user to input a query with at least one and specify a weight for each color in order to retrieve a set of images that match proportions of each color in said query. In one embodiment the claimed system enables the user to define said proportions manually via a control on the interface. In one embodiment the claimed system and method (1) enable the user to specify volume of each color used in said query by providing or choosing any image from which the claimed system and method will extract a color histogram, and (2) enable the user to specify an assembled query which will include proportions of each color from said image.

The claimed system and method enable a user to save a palette s/he created and retrieve it later to apply it to a search query.

The claimed system and method display trending or popular palettes to users based on customer behavior scores. Customer behavior scores indicate popularity of a given palette for specific searches and at specific times. 

We claim:
 1. A data processing system for recommending a color palette comprising: an application configured to interface with a user and receive from said user an image and at least one keyword; wherein said application is configured to extract at least one color from said image to provide at least one extracted color and distill said at least one extracted color to a palette; wherein said application is configured to enable division of said at least one extracted color into at least one bucket representing visually distinct parts of a color spectrum, wherein said application is configured to calculate a bucket representation score for each of said at least one extracted color by summing bucket color scores of said image in a bucket, and wherein said application is configured to generate a palette by assigning to said palette at least one color, wherein said at least one color consists of at least one color which ranks highest in bucket representation score among all bucket representation scores; wherein said application is configured to determine a customer behavior score based on aggregated activity for an image; wherein said application is configured to obtain a color weight score for a color in said image based on other visually similar colors in said image; wherein said application is configured to obtain a color volume score for a color based on percentage of said image covered by said color; wherein said application is configured to index each piece of data, including customer behavior score, color weight score, and color volume score in a search engine; wherein said application is configured to track user activity for an image; wherein said application is configured to enable a user to enter a search term, wherein said application is configured to display a grid of at least one image that matches said search term, and wherein said application is configured to generate a color palette comprising a set of colors present among all images in said grid; wherein said application is configured to display search results in a form of at least one image which matches said search term and wherein said application is configured to display at least one color extracted from an image when said user clicks on one of said at least one image; wherein said application is configured to display at least one image that corresponds to a user query containing at least one color and a specified weight for each of said at least one color; and wherein said application is configured to display at least one palette ranked on a popularity scale according to customer behavior score.
 2. The system of claim 1, wherein the customer behavior score based on aggregated activity for an image is configured to calculate the customer behavior score based on user activity, said user activity including searches which lead to a purchase of said image, clicking activity on said image, or other signals which would indicate user interest in said image, and wherein said application is configured to place more weight in a customer behavior score based on a specific period of a year.
 3. The system of claim 1, wherein said application is configured to calculate said color weight score by calculating a percentage of a color in said image, a percentage of other colors within a predefined distance in a red, green, and blue color space, and a measure of distance between said color and said other colors within a predefined distance in a red, green, and blue color space.
 4. The system of claim 1, wherein said application is configured to place said generated color palette comprising a set of at least one color present among all images in said grid in a list, and wherein said application is configured to sort said list by the customer behavior score for said search term, and wherein said application is configured to enable said user to create a palette using said set of at least one color.
 5. The system of claim 1, wherein said application is configured to rank said search results based on proximity of volume of each color of each image of said search results to volume of each extracted color in a selected image.
 6. The system of claim 1, wherein said application is configured to display a palette containing at least one extracted color from an image when said user hovers a cursor over said image, wherein said application is configured to display a palette with a list of at least one color selected by a user, and wherein said application is configured to display one other color in said palette.
 7. The system of claim 1, wherein said application is configured to enable a user to apply a previously-created palette to a future search query.
 8. The system of claim 1, wherein said application is configured to define said buckets manually by segmenting said color spectrum into sections that are visually distinct from one another, wherein said application is configured to assign a bucket color score to each of said buckets, wherein said application is configured to calculate said bucket color score by extracting the lightness, chroma, and hue values of each of said color and multiplying said lightness value by said chroma value by the color volume score.
 9. The system of claim 1, wherein said application is configured to generate a data set which contains a list of at least one color palette ranked by aggregated customer behavior scores.
 10. The system of claim 1, wherein said application is configured to receive input of a search term and a color from said user and update said list to display at least one image which matches said search term and said color.
 11. A method for executing a data processing application for recommending a color palette, the method comprising the steps of: receiving an image and at least one keyword into an application on a computing device; extracting at least one color from said image to provide at least one extracted color and distilling said at least one extracted color to a palette; dividing said at least one extracted color of said image into at least one bucket representing visually distinct parts of a color spectrum; calculating a bucket representation score for each of said at least one extracted colors by summing bucket color scores of said image in a bucket, and generating a palette by assigning to said palette at least one color, wherein said at least one color consists of at least one color which ranks highest in bucket representation score among all bucket representation scores; for a given image, obtaining a customer behavior score based on aggregated activity for said image; for a given image, obtaining a color weight score for a color in said image based on other visually similar colors in said image; for a given image, obtaining a color volume score for a color based on percentage of said image covered by said color; indexing each piece of obtained data, including at least customer behavior score, color weight score, and color volume score in a search engine; for a given image, tracking user activity for said image; receiving into the application a search term from a user, wherein the application is configured to display a grid of at least one image that matches said search term, and generating a color palette comprising a set of colors present among all images in said grid; displaying search results in form of at least one image which matches said search term and displaying at least one color extracted from an image in response to a user clicking on one of said at least one said images; displaying at least one image that corresponds to a query, said query containing at least one color and a specified weight for each of said at least one color; and displaying at least one palette ranked on a popularity scale according to said obtained customer behavior score.
 12. The method of claim 11, wherein said application calculates customer behavior score based on activity, said activity including searches which lead to a purchase of said image, clicking activity on said image, or other signals which would indicate interest in said image, and wherein said application places more weight on a customer behavior score based on a specific period of a year.
 13. The method of claim 11, wherein said application calculates said color weight score by calculating percentage of a color in said image, percentage of other colors within a predefined distance in a red, green, and blue color space, and a measure of distance between said color and said other colors in a red, green, and blue color space.
 14. The method of claim 11, wherein said application places said generated color palette comprising a set of colors present among all images in said grid in a list, wherein said application sorts said list by the customer behavior score for said search term, and wherein said application enables said user to create a palette using said set of at least one color.
 15. The method of claim 11, wherein said application ranks said search results based on proximity of volume of each color of each image of said search results to volume of each extracted color in a selected image.
 16. The method of claim 11, wherein said application displays a palette containing at least one extracted color from an image when said user hovers a cursor over said image, wherein said application displays a palette with a list of at least one color selected by said user, and wherein said application displays one other color in said palette.
 17. The method of claim 11, wherein said application enables said user to apply said palette to a future search query.
 18. The method of claim 11, wherein said application defines said bucket manually by segmenting said color spectrum into sections that are visually distinct from one another, wherein said application assigns a bucket color score to each of said bucket, wherein said application calculates said bucket color score by extracting lightness, chroma, and hue values of each of said color and multiplying said lightness value by said chroma value by the color volume score.
 19. The method of claim 11, wherein said application generates a data set which contains a list of at least one color palette ranked by aggregated customer behavior score.
 20. The method of claim 11, wherein said application receives input of a search term and a color from said user and updates said list to display at least one image which matches said search term and said color. 